﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ErrorListForm.aspx.cs" Inherits="UILGestion.Admin.ErrorListForm" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register src="../Control/menuCtrl.ascx" tagname="menuCtrl" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 141px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
   
    <uc1:menuCtrl 
        ID="menuCtrl1" runat="server" />
&nbsp;<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnablePartialRendering="true">
    </asp:ToolkitScriptManager>
  
     
   <asp:Panel ID="pnlMain" runat="server"
        ScrollBars="Auto"
        Direction="LeftToRight"
        Wrap="true" 
               Width="100%"
              backcolor="LightSteelBlue"
                 Font-Size="X-Small"
                 font-names="Arial"  >
                <table  width="100%">
                 <tr>
                 <td  width="80%">
                   <table >
<tr>
<td>
    Nivel 
        </td>
<td>
    <asp:DropDownList ID="nivelDropDownList" runat="server" Width="200px" 
        Font-Size="X-Small" AutoPostBack="True" 
        onselectedindexchanged="nivelDropDownList_SelectedIndexChanged">
    <asp:ListItem Value="0">Servidor de Aplicacion</asp:ListItem>
    <asp:ListItem Value="1"> Servidor de Base de Datos</asp:ListItem>
    </asp:DropDownList>
    </td>
<td>
    &nbsp;</td>
        <td></td>
 <td>
    </td> 
</tr>
</table>
                 </td>
                 <td>
                   <table align="left" >
            
            <tr>
                <td>
                    <asp:Button ID="anteriorButton" runat="server" Font-Size="X-Small" 
                        OnClick="btnContinueButton_Click" Text="Actualizar" />
                </td>
                <td>
                    <asp:Button ID="siguienteButton" runat="server" Text="enviar Correo" OnClick="btnContinueButton_Click"  Font-Size="X-Small"/>
                </td>
            </tr>
        </table>  
                 </td>
                 </tr>
                 </table>
               
               
  </asp:Panel>
   <asp:Panel ID="Panel2" runat="server"
        ScrollBars="Auto"
        Direction="LeftToRight"
        Wrap="true" 
       
                  Font-Size="X-Small"
                 font-names="Arial" >

               <table>
               <tr>
               <td valign="top" style="float:left" >
               <asp:Panel runat="server" Height="450px"    ScrollBars="Auto">
               
                 <asp:GridView ID="ListaErroresGridView" runat="server"
                 AutoGenerateColumns="false"
                   CellPadding="4"  
                   EnablePersistedSelection="true"

                   ShowHeaderWhenEmpty="True"
                   ForeColor="#333333" 
                   font-names="Arial" 
                   DataKeyNames="Name"  
                   Font-Size="X-Small" BorderColor="AliceBlue"
                    AutoGenerateSelectButton="True" 
                    
                    onselectedindexchanged="ListaErroresGridView_SelectedIndexChanged"
                   >
                   <EditRowStyle BackColor="#FFFF99" BorderStyle="Outset" />
                   <FooterStyle BackColor="#FFFF99" BorderStyle="Outset" />
                   <HeaderStyle backcolor="#DFE8F6" Font-Bold="True" forecolor="#336699"  BorderColor="LightSteelBlue"/>
                   <Columns>
                    <%--<asp:BoundField DataField="Length" HeaderText="tamaño"  HeaderStyle-Width="40px">--%>
                    <asp:BoundField DataField="Name" HeaderText="archivo"  HeaderStyle-Width="100px">
                       
                       </asp:BoundField>
                   
                       
                     
                    <asp:BoundField DataField="CreationTime" HeaderText="Fecha"  HeaderStyle-Width="120px">
                       
                       </asp:BoundField>
                    
                   </Columns>
   
                     <SelectedRowStyle BackColor="#FFCCFF" BorderStyle="Solid" />
   
                 </asp:GridView>

                

         </asp:Panel>
               </td>
               <td valign="top" style="float:left">

                 <asp:UpdatePanel ID="detalleUpdatePanel" runat="server" 
                       UpdateMode="Conditional">
                       <ContentTemplate>
                           <asp:Panel ID="Panel1" runat="server" Direction="LeftToRight" 
                               font-names="Arial" Font-Size="X-Small" ScrollBars="Auto" Width="700px" 
                               Wrap="true">
                               <input id="internalid" type="hidden"  runat="server"/>
                               <input id="idObra" type="hidden" runat="server"/>
                               <table >
                                   <thead align="center">
                                       Informacion del error generado</thead>
                                   <tr>
                                       <td align="right" class="style2">
                                           RawUrl</td>
                                       <td>
                                           <asp:Label ID="RawUrlLabel" runat="server"></asp:Label>
                                       </td>
                                   </tr>
                                   <tr>
                                       <td align="right" class="style2">
                                           ErrorPriority</td>
                                       <td>
                                           <asp:Label ID="ErrorPriorityLabel" runat="server"></asp:Label>
                                       </td>
                                   </tr>
                                   <tr>
                                       <td align="right" class="style2">
                                           WebApplicationName</td>
                                       <td>
                                           <asp:Label ID="WebApplicationName" runat="server"></asp:Label>
                                       </td>
                                   </tr>
                                   <tr>
                                       <td align="right" class="style2">
                                           WebHostName</td>
                                       <td>
                                           <asp:Label ID="WebHostName" runat="server"></asp:Label>
                                       </td>
                                   </tr>
                                   <tr>
                                       <td align="right" class="style2">
                                           Message</td>
                                       <td>
                                           <asp:Label ID="MessageLabel" runat="server" Width="350px"></asp:Label>
                                       </td>
                                   </tr>
                                   <tr>
                                       <td align="right" class="style2">
                                           Detail</td>
                                       <td>
                                           <asp:Label ID="DetailLabel" runat="server"></asp:Label>
                                       </td>
                                   </tr>
                               </table>
                               <asp:GridView ID="itemGridView" runat="server" AutoGenerateColumns="False" 
                                   BorderColor="AliceBlue" CellPadding="4" font-names="Arial" Font-Size="X-Small" 
                                   ForeColor="#333333" ShowHeaderWhenEmpty="True">
                                   <EditRowStyle BackColor="#FFFF99" BorderStyle="Outset" />
                                   <FooterStyle BackColor="#FFFF99" BorderStyle="Outset" />
                                   <HeaderStyle backcolor="#DFE8F6" BorderColor="LightSteelBlue" Font-Bold="True" 
                                       forecolor="#336699" />
                                   <Columns>
                                       <asp:BoundField DataField="Message" HeaderText="mensage" 
                                           ItemStyle-Width="200px" />
                                       <asp:BoundField DataField="Procedure" HeaderText="Procedimiento" />
                                       <asp:BoundField DataField="Severity" HeaderText="Severidad" />
                                       <asp:BoundField DataField="LineNumber" HeaderText="Linea" />
                                       <asp:BoundField DataField="Number" HeaderText="numero" />
                                       <asp:BoundField DataField="Server" HeaderText="Servidor" />
                                       <asp:BoundField DataField="Source" HeaderText="Recurso" />
                                       <asp:BoundField DataField="State" HeaderText="Estado" />
                                   </Columns>
                               </asp:GridView>
                           </asp:Panel>
                       </ContentTemplate>
                   </asp:UpdatePanel>
              
               

                 
 </td>
               </tr>
               </table>
               
    </asp:Panel>
    </form>
    <p>
&nbsp;</p>
    <p>
        .</p>
    <p>
        &nbsp;</p>
</body>
</html>
